Better HN
topnewbestaskshowjobs
Log inSign up

tkyjonathan

201 karma · joined Apr 4, 2014 (12y ago) · 243 submissions

Submissions

comment 7mo ago · link · parent

Misadventures in AWS Lambda, connection pooling and killing the database with unclosed transactions.

2.

The AWS Lambda 'Kiss of Death'(shatteredsilicon.net ↗)

4 points · by tkyjonathan · 7mo ago · 1 comment

comment 6y ago · link · parent

Isn't this DataOps?

comment 6y ago · link · parent

Almost none of the company leaders or even VCs fully understand what AI even is or does. They just like to hear thats its there.

If you don't have some AI in your company, you won't get investors.

comment 6y ago · link · parent

"Normalization was built for a world with very different assumptions. In the data centers of the 1980s, storage was at a premium and compute was relatively cheap."

But forget to do normalisation and you will be paying 5 figures a month on your AWS RDS server.

"Storage is cheap as can be, while compute is at a premium."

This person fundamentally does not understand databases. Compute has almost nothing to do with the data layer - or at least, if your DB is maxing on CPU, then something is wrong like a missing index. And for storage, its not like you are just keeping old movies on your old hard disk - you are actively accessing that data.

It would be more correct to say: Disk storage is cheap, but SDRAM cache is x1000 more expensive.

The main issue with databases is IO and the more data you have to read, process and keep in cache, the slower your database becomes. Relational or non-relation still follows these rules of physics.

comment 6y ago · link · parent

Location: UK, Horsham Remote: Yes Willing to relocate: No Technologies: Data Engineering, Data Architecture, Data Performance Engineering, Java, Python, SQL. Résumé/CV: https://www.linkedin.com/in/jonathanlevin/ Email: mail@jonathanlevin.co.uk

comment 6y ago · link · parent

Location: West Sussex, UK

Remote: Yes

Willing to relocate: No

Technologies: Data Architect, Data Modeling, Data Performance Engineer, SQL, MySQL, Percona, MariaDB, Galera, Postgres, Kafka, ElasticSearch, RDS, Redshift, Infobright, Java, Python, R.

Resume/CV: https://www.linkedin.com/in/jonathanlevin/

Email: mail@jonathanlevin.co.uk

8.

Ultraviolet light to disinfect against Coronavirus(youtube.com ↗)

7 points · by tkyjonathan · 6y ago · 1 comment

comment 6y ago · link · parent

This is obvious to me. Since Hadoop came out, (a lot of) people have been giving up on even forming algorithms and just dumping data into machine learning and hoping for the best. I recall someone high up at Google complaining about it.

We need to get back to forming algorithms as well as concepts and first principles. We cannot and should not expect ML to brute force finding patterns and just sit back and relax.

Here is another prediction for you: we will not solve ray-tracing in games and movie CGI with more hardware. We will need some algorithm that gets us 80-90% of the way there in a smart way.

comment 6y ago · link · parent

I said this 3 years ago, the future is having an SQLite DB inside a container for each one of your customers.

/s

comment 6y ago · link · parent

If its minimum of 70k, then its probably a good idea, because you would only hire if you absolutely have to.

37signals would be proud.

If you decentivize the most productive people, then you might hurt the rest of the company.

comment 6y ago · link · parent

I reduce my RDS bill by 66% by keeping it on EC2 and using Percona Server.

comment 6y ago · link · parent

Batching is the multi-threadedness of databases.

Its also important to remember that in databases, you are more often optimising for IO usage than CPU.

comment 6y ago · link · parent

That could be a fault of complex physical data models that need simplification.

comment 6y ago · link · parent

It is worth mentioning that there are some data-process heavy work that can be done much faster and more efficiently in SQL.

Real life example for a regulatory batch job:

6 tomcat servers + 1 RDS. 30X lines of code + UTs in java. 30+ minutes time.

In SQL No tomcat servers + 1 RDS instance. 1X lines of code(SQL) + UTs (in java). 3+ minutes

Here is a good book on it: https://www.amazon.co.uk/Relational-Database-Programming-Set...

comment 6y ago · link · parent

Imagine my shock. Asking for regulation simply to attack the competition or new entrants..

comment 6y ago · link · parent

This is very impressive. The average lifespan of a company on the S&P 500 is 15 years.

comment 6y ago · link · parent

I'm still on pen and paper..

comment 6y ago · link · parent

I feel that philosophy of systems and theory of constraints would be a better philosophy to use with computer systems.

comment 6y ago · link · parent

And a lot of those lakes remain untouched for years..

comment 6y ago · link · parent

Already started a DataOps team in my company!

comment 6y ago · link · parent

Where has this been since 2015?

comment 6y ago · link · parent

This is going to be your next cloud agnostic data warehouse.

comment 6y ago · link · parent

Not sure which DB you are using, but you can load the csv file into the DB directly on a single thread using something like LOAD DATA INFILE.

If you have some good indexes and do some push-down work (give the database aggregation tasks to do instead of your python code), you should probably be more than fine.

For a 250Gb file.. should be ok.. maybe add some partitioning too.

comment 6y ago · link · parent

Sysadmins could code scripts since day 1.

Its not like they ran the backups at midnight manually.

comment 6y ago · link · parent

You can persuade them to invest in nuclear micro-reactors and hydro-electric.

comment 6y ago · link · parent

I was under the impression that parts of the ozone have been repairing..

comment 6y ago · link · parent

> his massive short on the pound

In 2016 or recently? because if its recently then the pound has gone up.

comment 6y ago · link · parent

Think about having kids as like starting your own start up which you want to invest in for years to come and will very likely IPO with huge investment one day.
12345
9