Hacker Newsnew | past | comments | ask | show | jobs | submit | ankushio's commentslogin

It thinks that Apple 17 Pro has 12GB of memory (instead of 128).

“A significant increase from the 8GB in the iPhone 16 Pro, the 12GB of RAM is designed to handle more intensive tasks”


Very astute observation, something which resonates strongly with my experience as well.

At some point we should transition from microservices nomenclature to just services to illustrate the true nature of these entities.


The landing page says "With Azure Database for PostgreSQL, you can scale the performance of your database with no application downtime". I don't see an option to scale the Postgres database in my Azure Portal.

Is this feature not available yet?


You can scale by clicking on the Pricing tier. However note that scaling operations currently only support within a service tier. i.e, scaling up/down within Basic and scaling up/down within standard. Ability to scale across service tiers will come soon. /works at Microsoft and the managed PostgreSQL service /


I tried out this feature in the Basic tier, but my I see downtime during the scaling up of the instance.

I opened a psql console and ran "BEGIN; SELECT CURRENT_TIMESTAMP; SELECT pg_sleep(200); SELECT CURRENT_TIMESTAMP; COMMIT;"

I see the error "server closed the connection unexpectedly"


The application should have logic to re-try connections. When you scale, there is a brief moment ~30-45seconds when the app wont be able to connect to the database and then resumes if you re-try connection. /I work at Microsoft on the managed PostgreSQL service/


How do you accomplish no application downtime if for 45 seconds you can't connect to the database?

In background processes you might get away with retrying connections for a minute but most users will probably consider your site broken if page load time is 45 seconds.


That's a rather... 'liberal' use of 'no application downtime'.


Any idea if plv8 extension will be added soon?



The pricing is listed here: https://cloud.google.com/sql/docs/postgres/pricing#pg-pricin...

Sample monthly pricing:

db-f1-micro instance : $7.56 for compute;

10GB HDD : $0.9 for storage;

No network cost if the database instance is talking to a GCE VM in the same region;

Disclaimer: I work on Google Cloud SQL


when ha would cost the same i.e. ~20€ than that would be amazingly cheap. i mean on aws you would pay the same (20 €), but you need to pay 1 year upfront.. and if ha would be like 16 € you would only be a little bit more expensive than a 3 year aws rds offering (1€ per month), which is less a problem since the storage is cheaper and you are way more flexible (canceling and recreating to a bigger instance)


>db-f1-micro

>db-g1-small

>db-n1-highmem-2

>db-n1-standard-8

>D32 Database Instance (16GB RAM)

>Tier D0, D1, D2, D4, D8, D16, D32

What's up with cloud instance naming schemes? I get this is kind of similar to Amazon, but man, I bet these are really unwieldy in conversations esp. if someone is new to a platform.


We know. That's why PostgreSQL pilots hopefully clearer pricing structure where you choose how much CPU and RAM is needed and pay per CPU and GiB of ram. No more `db-nX-<something>-X`.

You'll still see instance size names for a while though. I think D0-D32 are for first generation of CloudSQL (which is MySQL only). db-* are for second generation and match GCE instance names.


> What's up with cloud instance naming schemes?

There's at least 2 performance dimensions for provisioning an instance: vCPUs and memory. Often also GPUs, local SSDs, local HDDs. And then you have multiple generations of hardware, which aren't 100% comparable to each other.

So coming up with a "fully systematic" naming scheme is not really possible without listing all the parameters, and then you lose the benefit of having a name.


They have the same problem on Docker Hub. Opened an issue a few months ago here : https://github.com/docker/hub-feedback/issues/110


Docker Compose moved to Go a few months ago.


Still in Python. That's why I've always wondered why they acquired Fig [0] and not Crane [1].

[0] http://www.fig.sh/

[1] https://github.com/michaelsauter/crane


It's Python.

https://github.com/docker/compose

Is this the repository or is there another one?


I am not a vim user and I've been using IntelliJ IDEA to code in GoLang for about an year now and I find it extremely powerful. It is powered using the GoLang IntelliJ plugin : https://github.com/go-lang-plugin-org/go-lang-idea-plugin

It provides : 1) Error Highlighting, 2) Auto Completion, 3) Click-to-Navigate, 4) Auto Formatting, 5) Auto Importing, among other features.


Addepar is hiring a Security Engineer. On-Site only in Mountain View, CA

This engineer will be responsible for reviewing our current code and future code, suggesting improvements to ensure that we are using secure engineering best practices, implementing security mechanisms in our software, finding security bugs and potentially fixing security bugs that have been discovered. If you review code through the eyes of a hacker and have a passion for building with a security bent, we’d love to tell you more!

Here is the job listing : https://jobs.lever.co/addepar/7d09481c-d1f4-4271-a385-95f0e9...


What are some of the existing tools/solutions which people use for managing secrets in a production environment?



slightly different scope, but solves a similar problem https://github.com/cloudflare/redoctober good writeup about it here https://blog.cloudflare.com/red-october-cloudflares-open-sou...



aphyr is gonna torture this system soon


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: