6,134 karma · joined Oct 5, 2007 (19y ago) · 831 submissions
Formerly the founding CTO of Parse.ly. Coding in: Python, JavaScript, Zig. Pleased to be a Pythonista and UNIX lover.
Parse.ly was acquired by Automattic (creators of WordPress.com) in February 2021; more here: https://www.techmeme.com/210208/p12#a210208p12
My essays & technical blog: https://amontalenti.com
My AngelList profile: https://angel.co/p/amontalenti
My occasional tweets: https://twitter.com/amontalenti
comment 10y ago · link · parent
Do you think an office for 100 people would cost less than $400K/year? (I know it wouldn't in NYC.)
See my notes on this here:
http://pixelmonkey.org/pub/distributed-teams/notes/#mixing-d...
comment 10y ago · link · parent
http://blog.parsely.com/post/3886/pykafka-now/
Unfortunately, as the OP illustrates, there are now 2 widely-used Python + Kafka drivers (pykafka and kafka-python), and as of recently, a third, confluent-kafka-python, which is a thin wrapper over librdkafka.
The reason there's all this fragmentation is because Kafka was quite the moving target for non-JVM languages for the past three years. We have used it in production since Kafka 0.7, so we've had to live through it all blow-by-blow. I'm hoping that with Kafka 0.10 recently released, we can finally unify the community around a single driver (somehow).
comment 10y ago · link · parent
(disclosure: my company, Parse.ly, is an analytics launch partner for AMP.)
comment 10y ago · link · parent
But I will mention that we were not always on AWS. Indeed, I hired Chris at a moment in our company's life when we were growing a bit too fast and still had a "snowflake server" setup in Rackspace Cloud. Served us well for the first year of revenue, but not so well given our growth rate. One of his first jobs was to move us from snowflake to proper config management. Then we made an 18 month pitstop in colo before adopting AWS.
I think what the blog post fails to recognize is that there is "commodity AWS use" and then there's "AWS platform use." For example, at Parse.ly we use Route53, Cloudfront, ELB, EC2, S3, RDS, and EMR.
The first 5 are basically commodity services. DNS, CDN, load balancer, VMs, backup.
Whether you use Rackspace, DigitalOcean, or your own colo, you'll need to figure something out in each category to deploy a real webapp. (Or, accept the devil's bargain of a PaaS.)
The last two services, RDS and EMR, are basically AWS-specific value-adds that saves our team time. We used to run our own Postgres EC2 node, but meh, why bother. Our SQL DB is small, and RDS handles a lot of things for us. We also used to run our own Spark clusters (using spark-ec2), but in June 2015, Spark got EMR support, so again, that saves us time/money. We actually breathed a sigh of relief when that came out, since we were essentially building Spark EMR ourselves with boto.
Spot instances and reserved instances are very neat cost optimizations at scale. But complex.
We adopted RDS/EMR hesitantly because of the "lock-in" they represent. We could definitely run without them. I don't think I have interest in the other 70 AWS services, mainly because I hate lock-in, I like open source, and I want to Keep Things Simple. (So Chris stays sane!)
AWS is definitely more complex than DigitalOcean. But I think running production web apps in the cloud is "simply complex", no matter which provider you use.
I also think the OP has a good point, which amounts to, "premature scaling is the root of all evil". Parse.ly may run on 200 EC2 nodes across multiple regions & AZs today, but our first prototype ran in a single 1U rackmounted server I built myself and snuck into a friend's server cage (2009). It's important not to waste time on "devops" when you are still figuring out what the heck your startup is even supposed to be doing. If I wasted time on that in the early days, we simply wouldn't be here.
546.
Newspaper vs. Web publishing jobs in US, 1990-present(bls.gov ↗)
4 points · by pixelmonkey · 10y ago · discuss
comment 10y ago · link · parent
https://databricks.com/try-databricks
https://databricks.com/product/pricing
So, they give you a 6GiB of RAM "micro-cluster" (presumably in AWS) for free, along with a notebook environment for playing with Spark's API, learning resources, and a way to share your work. But if you go from DCE to "production", you pay $99/month as a license fee for up to 3 Spark users, plus $288/month for every AWS node you run full-time in your Spark cluster.
Presumably, Spark is able to treat the "free" 6 GiB micro clusters of the community edition as a customer acquisition cost (VC-funded loss leader) for eventual pro users, who, if they work at companies with huge data processing needs, might work out to thousands of dollars per month of recurring revenue.
comment 10y ago · link · parent
I run Cassandra in production and I love its operational simplicity, scale-out design, and write performance. But I think its support for time series is perhaps over-hyped. To me, it seems the only queries you can run in Cassandra is a key lookup (partition key row get) and a column slice (partition key row get filtered by an ordered range of columns). This allows for a certain time series use case e.g. where each row represents exactly one series, and where the only thing you want to do with a series is to get its raw values. But it doesn't allow for many of the things I personally think of when I think about "time series queries", e.g. resampling, aggregates, rollups, and the like.
comment 10y ago · link · parent
Pricing for analytics services (in the marketplace) is all over the map. Google picked $150K/year as the price for GA Premium because that's the low end of an Adobe Analytics contract, who is the market leader. We're typically cheaper than existing Adobe/GA contracts. Non-competitive "event analytics" companies like MixPanel and Heap have variable per-event pricing that would break the bank for the customers we serve. We have a bit of an aversion to per-event pricing because it feels like "punishing customers for success".
Meanwhile, per seat pricing, though attractive on the surface and popular in the SaaS segment, has several concerns in our space. First, we want customers to feel free to hand out access to our platform: part of our value proposition is democratizing access to analytics data. So we don't want "stingy seat quotas" typical with tools like Salesforce. Second, for an analytics tool, seats are a bit easier to "hack" for a pricing model -- though our dashboards can be customized per user, a single shared account can access all the data. Meanwhile, our costs don't scale with seats, but with site traffic/users instead.
For these reasons, and more, we've settled on "tiered pricing". Roughly speaking, our service is offered in three tiers. Each tier supports a larger class of site (more monthly uniques), which also bestows more features (e.g. more data retention in higher tiers). To work within the budget constraints of some companies, we will discount tiers while removing cost-affecting features, e.g. maybe you are in the highest class of site, but we disable API access and limit data retention. Because this is a tad more complex than a pricing page could express easily, and also because we think the value of the product comes through best in a guided demo, we made the decision to hide pricing and instead responsively provide demos on-demand.
So, the tl;dr is, pricing, and the display of it, is definitely something we think about, and we have (IMO valid) reasons for not displaying pricing right now, but you make a fair point: if Musk can price his rockets publicly, maybe we can figure something out, too :)
comment 10y ago · link · parent
Google has mixed incentives in running its free analytics service. It gets web-wide analytics data, it uses data to help it sell more AdWords to customers, and it integrates GA with other services, like their display advertising products (DFP, etc.)
From a practical standpoint, you don't "own" analytics data when a) you can't easily access it in raw form and b) the SaaS provider "leaks" your data to dilute its value to you. We address (a) and (b) directly through our products and public data privacy stance. See this blog post for our public view on analytics data privacy:
http://blog.parsely.com/post/3394/analytics-privacy-without-...
comment 10y ago · link · parent
For big sites, you'll want that event data in GiB's of plain raw logs that you can bulk load into tools like BigQuery or Redshift for analysis.
My team has built/delivered a SaaS web content analytics platform for the past few years called Parse.ly. We instrument pageview events (like Google Analytics) automatically, and we also instrument time-on-page using heartbeat events. We collect 50 billion monthly page events for over 600 top-traffic sites, and display it all in a real-time dashboard.
To emphasize that our customers own the data they send us, we recently launched a Raw Data Pipeline product:
Basically, we host a secure S3 bucket and Kinesis stream for customers, and deliver their raw (enriched) event data there. From there, they typically load it into their own BigQuery or Redshift instance, or they analyze pieces of it directly with Python/R/Excel/etc.
Our customers tell us this strikes the right balance among data ownership, query flexibility, and hassle-free infrastructure.
552.
On the Timing of Time Zone Changes(codeofmatt.com ↗)
3 points · by pixelmonkey · 10y ago · discuss
comment 10y ago · link · parent
But even when we ran our own colo and hardware, we couldn't do all of our processing on a single node.
Also, in 2014 the business became critical enough that even if we could run everything on one node, we wouldn't want to risk it. So even when we had dedicated hardware, we still had to run Storm to spread the load onto multiple nodes.
The processing we do in real-time these days lights up over 300 EC2 vCores to 70%+ utilization during peak processing hours. A nightly job we run using pyspark lights up about 3x as many cores to near-100% utilization for several hours. And jobs we run during schema changes or backup restores can use more than 3,000 cores at once to churn through hundreds of terabytes of data.
I know it's very easy to say "YAGNI" to tools like Storm/Spark, and in most cases, I am with you. But when you outgrow the alternatives, as much as I'd love to just "throw a single machine at it", it simply isn't an option. YAGNI doesn't apply when you've exhausted all alternatives!
comment 10y ago · link · parent
Other examples of "common" steaming data with real-time use cases:
- Twitter firehose
- Network packet analysis
- Financial market data
- Device and sensor data
comment 10y ago · link · parent
In our case, we had pushed the limits of the largest EC2 box we could find. We have to keep up with tens of thousands of events per second, and do non-trivial amounts of CPU processing on each of them. Whether Python, Java, C++, or assembler, it wasn't going to happen on a single box. We proved this to ourself by getting the biggest box we could and rewriting the hotspots of our code in Cython. It still wasn't enough.
comment 10y ago · link · parent
- https://github.com/dask/distributed
- http://matthewrocklin.com/blog/work/2016/02/17/dask-distribu...
comment 10y ago · link · parent
https://www.youtube.com/watch?v=gVBLF0ohcrE
The rough summary is, if you need to do distributed multi-node computation with very low latency -- that is, end-to-end data processing time measured in millis or seconds -- then Storm will help you out. The "competitive" product in open source right now is pyspark + Spark Streaming.
The benefit of Storm is that it is an older (more mature) project with many production deployments. My team at Parse.ly wrote the open source Python + Storm integration libraries, pystorm and streamparse, which help Python programmers make use of Storm for large-scale stream processing: https://github.com/Parsely/streamparse. We also wrote pykafka, which is a Kafka client for Python: https://github.com/Parsely/pykafka -- these projects are related since Kafka is often the streaming data source used as the input to a Storm topology.
comment 10y ago · link · parent
https://github.com/aosabook/500lines/tree/master/crawler
And a detailed post about its design, co-written with A. Jesse Jiryu Davis, here:
http://aosabook.org/en/500L/a-web-crawler-with-asyncio-corou...
comment 10y ago · link · parent
https://github.com/amontalenti/elements-of-python-style
"Elements of Python Style": goes beyond PEP8 to discuss what makes Python code feel great.
Looking forward to reading Elements of Clojure. Python is my primary language but Clojure is my hobby language.
comment 10y ago · link · parent
comment 10y ago · link · parent
Companies could choose to have "puppy leave" for when employees choose to adopt newborn puppies. Choosing to have a dog (or not) and choosing to have a child (or not) are life choices about time and money investments in taking care of another being, and in the right circumstances they are choices! I imagine a company with a puppy leave policy (however absurd on the surface) would cause jealousy in coworkers who choose to have children, instead. And, rightfully so!
One can not "pause" parentship, it is true. But one can and should choose parentship in most circumstances, and one should not expect an employer to provide special relief from all its obligations, financial/time/otherwise. Employers should instead provide adequate comp and leave to all its employees, regardless of their life choices.
It is ultimately about fairness and a rule that says employees deserve what they earn and don't get unreasonably special treatment for choices that are, frankly, none of the company's business.
comment 10y ago · link · parent
One would hope that in a modern society, most people choose to have children, although it is true that sometimes becoming a parent can happen outside the realm of choice. Even then, though, the comparison falls down, as extended leave due to sickness is usually covered by disability insurance rather than by employers. Company policies cannot possibly cover every life circumstance but one hopes that over time companies who value their employees offer (fair) policies that make work a little more compatible with the common circumstances of life that tend to be out of the control of employees.
comment 10y ago · link · parent
We call it a "sabbatical", and it is five weeks of paid leave, meant to be used all at once after 4 years at the company, or used early by parents when they have children.
The Etsy policy of 26 weeks is certainly generous but honestly quite difficult for a small startup to offer. A big company like Etsy has a much smaller probability that several people on leave at the same time means an "entire department" is no longer staffed, whereas that would be a real possibility on our small team. We want to be fair to parents and non-parents alike, but we have to keep the lights on!
comment 10y ago · link · parent
We are hiring a software engineer to work on our real-time analytics dashboard. Pythonistas and JavaScript hackers especially desired.
On the company: We've built a real-time content measurement layer for the entire web.
Our analytics platform helps digital storytellers at some of the web's best sites, such as Arstechnica, New Yorker, Mashable, The Next Web, and many more. In total, our analytics backend system needs to handle over 50 billion monthly events from over 475 million monthly unique visitors.
Our entire stack is in Python and JavaScript, and our team has innovated in areas related to real-time analytics, building some of the best open source tools for working with modern stream processing technologies. Our UX/design team has also built one of the best-looking dashboards on the planet, using AngularJS and d3.js. You can see some screenshots: http://parse.ly/tour
Our distributed team is best-in-class and we happily skip commutes by working out of our ergonomic home offices. Here's a photograph of mine running two full-screen Parse.ly dashboards on my monitors: https://flic.kr/p/v1NZ73
We are currently looking for software engineers to help us build the best real-time analytics dashboard the world has ever seen. The only requirement is some experience in Python/JavaScript. Bonus points for an interest in information visualization, Edward Tufte, and d3.js. To see an example of how we work, check out the blog post, "Whatever It Takes": http://blog.parsely.com/post/46
Apply now by sending a CV/website, github link (if available), and 1 paragraph intro to work@parsely.com. Let us know what part of the position interests you, or point us toward an interesting project or piece of code you wrote. Also, mention the HN Who's Hiring thread.
comment 10y ago · link · parent
We are hiring a software engineer to work on our real-time analytics dashboard. Pythonistas and JavaScript hackers especially desired.
On the company: We've built a real-time content measurement layer for the entire web.
Our analytics platform helps digital storytellers at some of the web's best sites, such as Arstechnica, New Yorker, Mashable, The Next Web, and many more. In total, our analytics backend system needs to handle over 50 billion monthly events from over 475 million monthly unique visitors.
Our entire stack is in Python and JavaScript, and our team has innovated in areas related to real-time analytics, building some of the best open source tools for working with modern stream processing technologies. Our UX/design team has also built one of the best-looking dashboards on the planet, using AngularJS and d3.js. You can see some screenshots: http://parse.ly/tour
Our distributed team is best-in-class and we happily skip commutes by working out of our ergonomic home offices. Here's a photograph of mine running two full-screen Parse.ly dashboards on my monitors: https://flic.kr/p/v1NZ73
We are currently looking for software engineers to help us build the best real-time analytics dashboard the world has ever seen. The only requirement is some experience in Python/JavaScript. Bonus points for an interest in information visualization, Edward Tufte, and d3.js. To see an example of how we work, check out the blog post, "Whatever It Takes": http://blog.parsely.com/post/46
Apply now by sending a CV/website, github link (if available), and 1 paragraph intro to work@parsely.com. Let us know what part of the position interests you, or point us toward an interesting project or piece of code you wrote. Also, mention the HN Who's Hiring thread.
p.s. we are also looking for folks interested in intersection of product and marketing, such as hybrid product designer/developers.
comment 10y ago · link · parent
Work-life balance and harmony is enabled by remote work. I don't have kids, but many of my colleagues do, and they really appreciate the flexibility.
I don't think all roles can work perfectly remotely, but software engineering certainly can. Github (any day but today :)), Trello, Flowdock/Slack/IRC, AWS, GHangout, GDocs -- these are the tools you would use anyway in a good company. And you can trade the money spent on offices for plane tickets to do team retreats and hackathons from time to time.