www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - So no one is using Amazon S3 with D, why?

reply aberba <karabutaworld gmail.com> writes:
Amazon S3 seem like a common solution for object storage these 
days[1] but I'm seeing almost no activity in this area (stable 
native D API). Why?

[1] https://trends.builtwith.com/cdn/Amazon-S3
Mar 14 2017
next sibling parent reply ikod <geller.garry gmail.com> writes:
On Tuesday, 14 March 2017 at 20:21:44 UTC, aberba wrote:
 Amazon S3 seem like a common solution for object storage these 
 days[1] but I'm seeing almost no activity in this area (stable 
 native D API). Why?

 [1] https://trends.builtwith.com/cdn/Amazon-S3
At least one package: https://code.dlang.org/packages/vibe-s3
Mar 14 2017
next sibling parent aberba <karabutaworld gmail.com> writes:
On Tuesday, 14 March 2017 at 20:38:37 UTC, ikod wrote:
 On Tuesday, 14 March 2017 at 20:21:44 UTC, aberba wrote:
 Amazon S3 seem like a common solution for object storage these 
 days[1] but I'm seeing almost no activity in this area (stable 
 native D API). Why?

 [1] https://trends.builtwith.com/cdn/Amazon-S3
At least one package: https://code.dlang.org/packages/vibe-s3
This is one has a nice implementation. The README does say it is unstable and I wonder which part was untested.
Mar 15 2017
prev sibling parent yawniek <yawniek srtnwz.com> writes:
On Tuesday, 14 March 2017 at 20:38:37 UTC, ikod wrote:
 On Tuesday, 14 March 2017 at 20:21:44 UTC, aberba wrote:
 Amazon S3 seem like a common solution for object storage these 
 days[1] but I'm seeing almost no activity in this area (stable 
 native D API). Why?

 [1] https://trends.builtwith.com/cdn/Amazon-S3
At least one package: https://code.dlang.org/packages/vibe-s3
since this thread got bumped and has some false information: i initiated the vibe-s3 package and developed parts of it. the whole thing is not really non-trivial, especially if you need the more advanced features such as streaming (to upload bigger files), tags and metadata. plus the auth scheme. so anyone looking for a solution i would strongly recommend to use/fork vibe-s3 (or if you want to be the new maintainer please ping me). ideally it would be re-integrated into vibe-aws
May 10 2019
prev sibling next sibling parent Jack Stouffer <jack jackstouffer.com> writes:
On Tuesday, 14 March 2017 at 20:21:44 UTC, aberba wrote:
 Amazon S3 seem like a common solution for object storage these 
 days[1] but I'm seeing almost no activity in this area (stable 
 native D API). Why?

 [1] https://trends.builtwith.com/cdn/Amazon-S3
You can use S3 in its entirety with its REST API. I imagine people just make those calls with std.net.curl or something similar.
Mar 14 2017
prev sibling next sibling parent Brad Roberts via Digitalmars-d <digitalmars-d puremagic.com> writes:
I've been in touch with the manager of the aws sdk team (he and I worked
together for a while). 
He's willing to help with adding another language to the full sdk, but it'd be
non-trivial.  There's 
a code generator (maybe more a generation language) involved that emits from a
base service 
description for the entire suite of aws services.

It'd take some work to do the full sdk.  Ignoring all that and just doing a
thin s3 specific api 
would be extremely easy since the api itself is so simple.  I have a quickly
hacked together -- ie 
would do better on a new round -- for a specific tool:

      https://github.com/braddr/downloads.dlang.org

Ignore the tool on top of the code, it's out of date.

On 3/14/17 1:21 PM, aberba via Digitalmars-d wrote:
 Amazon S3 seem like a common solution for object storage these days[1] but I'm
seeing almost no
 activity in this area (stable native D API). Why?

 [1] https://trends.builtwith.com/cdn/Amazon-S3
Mar 14 2017
prev sibling next sibling parent reply Adam D. Ruppe <destructionator gmail.com> writes:
On Tuesday, 14 March 2017 at 20:21:44 UTC, aberba wrote:
 Amazon S3 seem like a common solution for object storage these 
 days[1] but I'm seeing almost no activity in this area (stable 
 native D API). Why?
I've done it before, but never posted the code in since it was just a quick and easy thing, about 50 lines total... But I personally don't use it anyway, I only do for work stuff.
Mar 14 2017
parent aberba <karabutaworld gmail.com> writes:
On Tuesday, 14 March 2017 at 21:09:23 UTC, Adam D. Ruppe wrote:
 On Tuesday, 14 March 2017 at 20:21:44 UTC, aberba wrote:
 Amazon S3 seem like a common solution for object storage these 
 days[1] but I'm seeing almost no activity in this area (stable 
 native D API). Why?
I've done it before, but never posted the code in since it was just a quick and easy thing, about 50 lines total... But I personally don't use it anyway, I only do for work stuff.
Can you github the code?
Mar 15 2017
prev sibling parent reply Suliman <evermind live.ru> writes:
On Tuesday, 14 March 2017 at 20:21:44 UTC, aberba wrote:
 Amazon S3 seem like a common solution for object storage these 
 days[1] but I'm seeing almost no activity in this area (stable 
 native D API). Why?

 [1] https://trends.builtwith.com/cdn/Amazon-S3
How much the lowest vibed ready instance cost? I am looking for a cheapest solution for site.
Mar 15 2017
next sibling parent reply Jonathan M Davis via Digitalmars-d <digitalmars-d puremagic.com> writes:
On Wednesday, March 15, 2017 08:27:23 Suliman via Digitalmars-d wrote:
 On Tuesday, 14 March 2017 at 20:21:44 UTC, aberba wrote:
 Amazon S3 seem like a common solution for object storage these
 days[1] but I'm seeing almost no activity in this area (stable
 native D API). Why?

 [1] https://trends.builtwith.com/cdn/Amazon-S3
How much the lowest vibed ready instance cost? I am looking for a cheapest solution for site.
If you want a cheap solution for running a website, there's always digital ocean: https://www.digitalocean.com/ You can run whatever you want on there quite easily. It's what I use when I want to spin up a server for something online. - Jonathan M Davis
Mar 15 2017
next sibling parent Sebastiaan Koppe <mail skoppe.eu> writes:
On Wednesday, 15 March 2017 at 09:02:54 UTC, Jonathan M Davis 
wrote:
 https://www.digitalocean.com/

 You can run whatever you want on there quite easily. It's what 
 I use when I want to spin up a server for something online.

 - Jonathan M Davis
or for $2,50 on https://www.vultr.com/
Mar 15 2017
prev sibling parent reply "Nick Sabalausky (Abscissa)" <SeeWebsiteToContactMe semitwist.com> writes:
On 03/15/2017 05:02 AM, Jonathan M Davis via Digitalmars-d wrote:
 If you want a cheap solution for running a website, there's always digital
 ocean:

 https://www.digitalocean.com/

 You can run whatever you want on there quite easily. It's what I use when I
 want to spin up a server for something online.
Linode is good too: linode.com
Mar 15 2017
parent Pamella Morris <dianadianathales gmail.com> writes:
On Wednesday, 15 March 2017 at 15:42:24 UTC, Nick Sabalausky 
(Abscissa) wrote:
 On 03/15/2017 05:02 AM, Jonathan M Davis via Digitalmars-d 
 wrote:
 Linode is good too: linode.com
Yes Linode is definitely a good option as it is cheap, reliable, and sustainable with almost language. I have been using it from last 1 year and it's been working fine for me. Although, I am going with it's managed version which is powered by Cloudways. Instead of the conventional Linode server and it's been working fine for me. It's managed version is a little expensive then it's conventional server. But, it's a price worth paying as they are taking all the hassle of installing and managing the server ensuring me a hassle-free experience.
May 09 2019
prev sibling next sibling parent reply aberba <karabutaworld gmail.com> writes:
On Wednesday, 15 March 2017 at 08:27:23 UTC, Suliman wrote:
 On Tuesday, 14 March 2017 at 20:21:44 UTC, aberba wrote:
 Amazon S3 seem like a common solution for object storage these 
 days[1] but I'm seeing almost no activity in this area (stable 
 native D API). Why?

 [1] https://trends.builtwith.com/cdn/Amazon-S3
How much the lowest vibed ready instance cost? I am looking for a cheapest solution for site.
There are several options: 1. Heroku Paas with s3 2. Docker Datacenter with your own image with dlanguage/dmd image as base. 3. Or hosting yourself on AWS or linode or digitaloceon. AWS is generally safe for small team with less resources. You may also look into Dokku (self-hosted Paas)
Mar 15 2017
parent Sebastiaan Koppe <mail skoppe.eu> writes:
On Wednesday, 15 March 2017 at 09:57:52 UTC, aberba wrote:
 There are several options:
 1. Heroku Paas with s3
 2. Docker Datacenter with  your own image with dlanguage/dmd 
 image as base.
 3. Or hosting yourself on AWS or linode or digitaloceon. AWS is 
 generally safe for small team with less resources. You may also 
 look into Dokku (self-hosted Paas)
If you are into docker https://hyper.sh is also nice.
Mar 15 2017
prev sibling parent Johannes Pfau <nospam example.com> writes:
Am Wed, 15 Mar 2017 08:27:23 +0000
schrieb Suliman <evermind live.ru>:

 On Tuesday, 14 March 2017 at 20:21:44 UTC, aberba wrote:
 Amazon S3 seem like a common solution for object storage these 
 days[1] but I'm seeing almost no activity in this area (stable 
 native D API). Why?

 [1] https://trends.builtwith.com/cdn/Amazon-S3  
How much the lowest vibed ready instance cost? I am looking for a cheapest solution for site.
If you really want the _cheapest_ solution you can probably run vibe.d on small VPS with 64 or 128 MB ram. See https://www.lowendtalk.com/ and https://lowendbox.com/ I've used https://securedragon.net/ (12USD/year) and https://buyvm.net (15USD/year) for VPN purposes and never had any problem. If you need more power there are also often cheaper options than cloud hosting. For example, I use this as a GDC build server: https://www.lowendtalk.com/discussion/97773/vapornode-black-friday-7-4gb-kvm-lxc-in-tampa (However, as these are shared services you have to carefully look at network throughput / CPU usage guarantees) -- Johannes
Mar 15 2017