curious who do you use as a host for 32 cores with ton of ram? I also favor this vertical scaling over splitting over multiple servers and replicating database with a load balancer sitting on top. Best to deal with one point of failure, if you need network concurrency up the ram and bandwidth. RAM should be easily upgradeable up to a descent double digit gig figure. For disk space and backup.
website hosted on 1 droplet. additional 1 droplet per every customer is deployed through Stripe and DO api.
DO let's you save a snapshot and load it to the droplet. I have a snapshot that is basically a copy of my 'software'. It's a LAMP stack with init script to load the webapp from git repo.
Customer logs in at username.mywebapp.com
The beauty of this is that I never have to worry about things breaking or becoming a bottle neck. if one customer outgrows themselves, they won't affect other resources. It has linear scalability, new customers, add a new droplet. I don't need to worry about writing crazy deployment scripts although I use paramiko to ssh in to each server when I need to get dirty.
The main website is mostly static content. I could host it even on Amazon S3 but currently using cloudflare.
Updating the product code requires me to restart the droplet instance. However, I test things out on another staging droplet. Once things work on there, I use the DO api to iterate through all the customer droplets and do a restart.
The obvious remark is why do a new webapp deployment per customer instead of a multi-tenant app ? Multi-tenancy requires more code in the web-app to isolate accounts, but it will mutualize and consolidate web servers.
I did it because a new webapp deployment costs nothing, no extra work involved at all with DO, just add a snapshot and ssh key to a new droplet. If something needs to be consolidated, I just use DO api and paramiko to ssh into each droplet and run new commands. If it's updating the webapp across all customers, it's a matter of issuing restart command to all the droplets via API.
Aren't you paying for hosting on each droplet though? Consolidating would save you that money, but I guess this wouldn't have a huge impact if the income per customer is a lot larger than the cost of an additional droplet.
there's few different categories of FU money each with increasingly lower probability
1 million dollars: doable but very hard. you can finally buy that crack shack in vancouver, bc
10 million dollars: could be doable depending how you got to your first million. if it's scalable operation, no problem.
100 million dollars: continued growth from previous operation with compounding returns or have been part of a successful startup that was sold.
1000 million dollars: founder/co-founder of a company that was sold previously to a very large search engine or social network.
10000 million dollars: own majority equity in a very well known public company, inherited.
100000 million dollars: run a country that produces oil or cocaine as it's most popular exports. You can't have any competition around. launder it excessively.
10 million dollars after taxes so I'm guessing the actual amount is higher, possibly around 15 million dollars. on top of that 300k a year will be subjected to taxation, you will end up with 188k a year, not quite the 300k. you would need around 450k a year and after taxes, you will end up with 300k. to be able to produce that much you'd need about 15 million dollars after taxes. so in reality you'd need about 20 million dollars.
20 million dollars, would generate 300k after taxes if invested in bonds. from the 20 million, you'd end up with 15 or 14 million dollars after paying taxes.
so 20 million dollars is what one would need to target for.
however, note that you'd need to live in a large mansion that's already paid for and maintenance and expenses, property taxations being paid, I'd put away 30~50k for upkeep. You will probably have two kids on average so it will be another 100,000 to support them.
21 million, seems to be the true 'FU' money. After that leave off 400,000 after tax a year in money.
21 million is a staggering figure for someone starting out. I don't even know if I will get to one million.
Living in some area you have to live due to financial constraints and not exploring the world at your own schedule is the opposite of definition of FU money.
EMH says this will get priced in, and companies who pay dividends will just switch to stock buybacks or other more efficient methods of capital distribution.
I remember being ridiculed for having more questions than answers. It's skewed to the idea that answering and contributing your thought is of more important than the question generating such thought.
Regardless, Stackoverflow has fell off it's high place.
I remember being ridiculed for having more questions than answers
Do you know that StackOverflow does not tolerate abuse and there is a flag option to automatically review any comment or post. In the rare case that doesn't work out you can directly contact moderators or developers who will actually respond. No community is perfect and you should really consider that options if you were offended. I have yet to see any ridicule that wasn't removed in 15 minutes or less.
Well, that mechanism has not worked well. Especially, someone with a large reputation point appears to be exempt and there exists elitism amongst it's members.
Largely, Stackoverflow has now become something like wikipedia, just an index of questions and answers with zealous moderators and elitists and no longer a community.
That was always the design goal. It was never a place for discussions, ever.
They eventually implemented the chat rooms because there was a demand for community-style conversations and interactions, but they've never allowed discussions or conversations in the Q/A format, and comments that turn into conversations are discouraged in the code.
Subsequently, one of the founders (Jeff Atwood) went on to form Discourse, which is about conversation and community.
Theos [0] has been used with Linux before but I have never personally done so. I don't think anybody has yet ported ld64/codesign to run natively on Linux but it has been possible for some time to run the Mac CLI dev tools under Linux using runtime shims like maloader [1] or its descendant Darling [2].
maloader and Darling won't, they require Linux. LLVM works fine on Windows. I'm guessing the RoboVM front-end is also fairly portable. The effort to port ld64/codesign to Windows would probably be similar to the effort to port them to Linux.
are there any other JavaScript to native compiler projects in the works? last time I heard there was llvm.js or something like that was doing the same thing as hyperloop.
He is using LibGDX and pretty much everything in most games developed with LibGDX run on all platforms (iOS, Android, Desktop Java). Most LibGDX games will work in a web browser too (converts to GWT + WebGL). A couple native extensions like some of the freetype stuff won't work in the web environment.
You can write the game on Windows if you want but to compile and test the iOS build you need a Mac with Xcode.
Almost all your game development is done is a project that is shared by all the platforms. During development you typically test the Java desktop version so you don't have to deal with deploying to devices or slow emulators.
Honestly the biggest pain is when you start doing ads or game center type stuff that is platform specific but there are ways to work around that.
I remember a coworker telling me in a condescending tone 'this is how a startup runs, you break even and try to expand market share, burning investors cash and growing without profit' when I asked about how it is that our company that has not made any profit in the past 4 years serving enterprise customers is able to still be solvent. What if investors suddenly stop injecting cash? Financials would be negative in the first quarter.
I never understood the working models of growing at the sole expense of investors money. Because I don't know but last time I checked capitalism and free market still is king, and they always have a history of major market correction. When something's not efficient or something's offplace, market has a tendency to correct itself, in a big, unexpected, ruthless sort of way and we've seen this again and again, but history seems to teach people nothing.