Live data from Hacker News

Ask HN: Companies of one, what is your tech stack?

news.ycombinator.com

301–310 of 327 posts

Re: Ask HN: Companies of one, what is your tech stack?

#301

Earlier quoted context omitted.

Thanks for satisfying my curiosity! Also, congrats on your success! > Yes, my user-facing servers are proxying the files to the users. I've never operated a service as large as yours, so take my question with a grain of salt: I'm wondering whether it would make sense to split off the actual file front-end servers from the user-facing servers (going for a redirect approach instead of proxying), since the requirements…

Proxying the files has a number of benefits. - The first is that I can have all my API endpoints under one domain. This simplifies downloading as you don't need to make a separate request to figure out where the file is stored. - The storage servers that Hetzner sells only have 1 Gbps bandwidth. That runs out very quickly when a file goes viral. The 10 Gbps caching servers do a lot of heavy lifting here, this makes s…

> That would make it impossible to link directly to a single storage server as a single file would also be distributed.

Check out https://github.com/chrislusf/seaweedfs/ implementation of reed solomon. Small files can still be served from 1 server.

It's also efficient for small files, which a image store requires.

Re: Ask HN: Companies of one, what is your tech stack?

#302

Earlier quoted context omitted.

Proxying the files has a number of benefits. - The first is that I can have all my API endpoints under one domain. This simplifies downloading as you don't need to make a separate request to figure out where the file is stored. - The storage servers that Hetzner sells only have 1 Gbps bandwidth. That runs out very quickly when a file goes viral. The 10 Gbps caching servers do a lot of heavy lifting here, this makes s…

> That would make it impossible to link directly to a single storage server as a single file would also be distributed. Check out https://github.com/chrislusf/seaweedfs/ implementation of reed solomon. Small files can still be served from 1 server. It's also efficient for small files, which a image store requires.

I have been looking at seaweedfs for a while. I suffer from a pretty bad case of NIH Syndrome, so my gut feeling says I should implement it myself. But seaweed is such a good fit that I should probably just try it.

I especially want to know how well it deals with adding / removing servers, data loss and network instability. The beautiful thing with writing my own solution is that it takes at most 10 minutes to diagnose and fix a problem when it occurs.

Re: Ask HN: Companies of one, what is your tech stack?

#303

Earlier quoted context omitted.

> That would make it impossible to link directly to a single storage server as a single file would also be distributed. Check out https://github.com/chrislusf/seaweedfs/ implementation of reed solomon. Small files can still be served from 1 server. It's also efficient for small files, which a image store requires.

I have been looking at seaweedfs for a while. I suffer from a pretty bad case of NIH Syndrome, so my gut feeling says I should implement it myself. But seaweed is such a good fit that I should probably just try it. I especially want to know how well it deals with adding / removing servers, data loss and network instability. The beautiful thing with writing my own solution is that it takes at most 10 minutes to diagno…

You can contribute to it and learn it along the way. Pretty flexible.

Re: Ask HN: Companies of one, what is your tech stack?

#305
I run a social reading app call Bookship (think, virtual book club). https://www.bookshipapp.com

App Tier on iOS, Android, Web, from a single source built with: Ionic V1 / Javascript

in-app Live Video Chat through JITSI

Deep Linking to app by Branch

Web hosting: EC2/Route53/Cloudfront

Web Analytics: Mixpanel

Server (old school: Mysql/PHP, MYSQL on AWS RDS server, PHP on the web servers @ EC2)

Source code mgmt: Github

IDE: Vs Code/Xemacs

Node + SimplePiE for ingesting and processing RSS feeds mentioning books.

Lifecycle email services through Mailgun.

Lifecycle text messages through Twilio

Blog via AWS Lightsail/Wordpress

Social media automation: Buffer

Re: Ask HN: Companies of one, what is your tech stack?

#307

Earlier quoted context omitted.

Curious to learn more about CockroachDB's problems you had. They market themselves as a turn-key solution to globally distributed databases, it's worrying that you had a problem with that very use case. Thanks for the additional details!

Okay this is just my understanding of the issue. I'm not sure if it's 100% correct. Cockroachdb slices up its tables in 16 MiB shards. These shards are distributed over three nodes, one master and two slaves. The master gets chosen with the raft protocol. The master is the only server which can write to the shard. For a write to happen all three replicas need to be synchronized, they do this by locking the entire sha…

Good summation. Exactly. They are solving for different things. Cockroach is solving for consistency of a distributed database. Scylla is solving for performance of a distributed database.

For interested readers more can be found here:

https://www.scylladb.com/2021/01/21/cockroachdb-vs-scylla-be...

Re: Ask HN: Companies of one, what is your tech stack?

#308

https://hanami.run email forwarding services with webhook, smtp, disposable emails Tech Stack: - Ruby/ for webapp and user facing service: very quick to get the feature out, easiser to work with HTML, database access. Being a one man shop, I have to develop fast - Go: mail server and anything that isn't user facing or doesn't involve rending HTML. Statically type to reduce bug, performance to cut cost, this is the co…

Nice service! You may want to hire a native English speaker to check the text on your website though, it's full of errors and odd wording.

I'll take a look if you want, op. Native speaker, been writing proofreading and translating for a long time. Leave a comment here and I can get in touch.

Re: Ask HN: Companies of one, what is your tech stack?

#309

https://boxy-svg.com - vector graphics editor similar to Inkscape and Adobe Illustrator. Both client- and server-side code is written with vanilla JavaScript. Since I'm targeting only Electron and modern Chromium-based browsers I can use latest web technologies without any transpilers or preprocessors. I'm using mostly raw DOM APIs without any abstraction layers. Third-party services: - Firebase (database, storage, h…

Is Firefox just too far different from Chrome to support. I have become pretty anti-Chrome lately.

Re: Ask HN: Companies of one, what is your tech stack?

#310

https://boxy-svg.com - vector graphics editor similar to Inkscape and Adobe Illustrator. Both client- and server-side code is written with vanilla JavaScript. Since I'm targeting only Electron and modern Chromium-based browsers I can use latest web technologies without any transpilers or preprocessors. I'm using mostly raw DOM APIs without any abstraction layers. Third-party services: - Firebase (database, storage, h…

Is Firefox just too far different from Chrome to support. I have become pretty anti-Chrome lately.

Last time I checked Firefox didn't support Native File System API, Constructable Stylesheets API and HTML Dialog API which are used extensively by Boxy SVG.
Post reply on HN