Dan Murphy (@dmurph11) profile picture

Computer nerd at Synchrony. Tweets are my own

Stamford, CT
Joined April 2008
Photo by Dan Murphy (@dmurph11)Photo by Dan Murphy (@dmurph11)Photo by Dan Murphy (@dmurph11)Photo by Dan Murphy (@dmurph11)Photo by Dan Murphy (@dmurph11)Photo by Dan Murphy (@dmurph11)Photo by Dan Murphy (@dmurph11)Photo by Dan Murphy (@dmurph11)Photo by Dan Murphy (@dmurph11)Photo by Dan Murphy (@dmurph11)
Alright, here it it after literally years of tinkering, months of research and weeks of writing, re-rewriting, editing, cutting and incorporating feedback, my piece on the Four โ€œReal-Worldโ€ Foundational Engineering Manager Archetypes is out! Link ๐Ÿ‘‡
1
6
33
1,979
A conversation I have frequently about ACH speeds. Me: The most important factor to understand is Reg E and the broader constellation that makes banks liable for consumer accounts being drained. X: But other nations manage this without slowing down bank transfers. Me: Which one.
22
54
17
644
84,880
After careful consideration, I am honored to announce my commitment to the United States Naval Academy. I am thankful to Coach Newberry, Coach Volker, Coach Hall and Coach MacDonald for this amazing opportunity to serve my country and play the game I love. I also want to thank my parents, Coach Spagnolo and the Iona Prep family for all they have done to prepare me for this next step in my life. #committed #fearthegoat #GoNavy #BeatArmy @ionafootball @Joespags12 @CoachMoffitt @_CoachNew @D_WallCoach @JMacDonald_Navy @RivalsFriedman
12
30
3
171
29,626
Dan Murphy retweeted
CHAMPION vs. CHAMPION ... The Awesome Truth vs. @UConnHuskies?! What say you, @dhurley15? #WWERaw
96
592
140
4,325
669,850
This is Scott Wu. 10 days ago, he launched "Devin", the first-ever AI software engineer & it's insane. It took the tech world by surprise. Here are 7 most-shocking things Devin can do:
138
874
107
5,173
2,684,980
Top Dogs.
51
811
213
2,417
526,547
Dan Murphy retweeted
Top Architectural Styles. The method to download the high-resolution image is available at the end. In software development, architecture plays a crucial role in shaping the structure and behavior of software systems. It provides a blueprint for system design, detailing how components interact with each other to deliver specific functionality. They also offer solutions to common problems, saving time and effort and leading to more robust and maintainable systems. However, with the vast array of architectural styles and patterns available, it can take time to discern which approach best suits a particular project or system. Aims to shed light on these concepts, helping you make informed decisions in your architectural endeavors. To help you navigate the vast landscape of architectural styles and patterns, there is a cheat sheet that encapsulates all. This cheat sheet is a handy reference guide that you can use to quickly recall the main characteristics of each architectural style and pattern. โ€“ Subscribe to our newsletter to download the ๐ก๐ข๐ ๐ก ๐ซ๐ž๐ฌ๐จ๐ฅ๐ฎ๐ญ๐ข๐จ๐ง ๐ข๐ฆ๐š๐ ๐ž. After signing up, find the download link on the success page: bytebytego.ck.page/92bb16f8aโ€ฆ
10
619
5
2,492
204,640
Dan Murphy retweeted
screenshot-to-code: upload a screenshot of any website, watch as AI progressively builds the html, iteratively improving the generated code by comparing it against the screenshot repeatedly.
146
655
215
5,102
2,114,445
๐—›๐—ผ๐˜„ ๐—ฎ ๐—ฆ๐—ถ๐—ป๐—ด๐—น๐—ฒ ๐—Ÿ๐—ถ๐—ป๐—ฒ ๐—ข๐—ณ ๐—–๐—ผ๐—ฑ๐—ฒ ๐—•๐—ฟ๐—ผ๐˜‚๐—ด๐—ต๐˜ ๐——๐—ผ๐˜„๐—ป ๐—” ๐—•๐—ถ๐—น๐—น๐—ถ๐—ผ๐—ป ๐——๐—ผ๐—น๐—น๐—ฎ๐—ฟ ๐—ฅ๐—ผ๐—ฐ๐—ธ๐—ฒ๐˜ On June 4, 1996, the European Space Agency (ESA) launched the Ariane 5 rocket for the first time, marking a significant moment in the history of space exploration. This mission was not without difficulty, though, as ๐—ฎ ๐˜€๐—ถ๐—ป๐—ด๐—น๐—ฒ ๐—น๐—ถ๐—ป๐—ฒ ๐—ผ๐—ณ ๐—ฐ๐—ผ๐—ฑ๐—ฒ ๐—ฟ๐—ฒ๐˜€๐˜‚๐—น๐˜๐—ฒ๐—ฑ ๐—ถ๐—ป ๐—ฎ ๐—ฐ๐—ฎ๐˜๐—ฎ๐˜€๐˜๐—ฟ๐—ผ๐—ฝ๐—ต๐—ถ๐—ฐ ๐—ณ๐—ฎ๐—ถ๐—น๐˜‚๐—ฟ๐—ฒ and the loss of the entire cargo, which was worth almost half a billion euros. Two communication satellites were intended to be transported into geostationary transfer orbit by the Ariane 5. Up until the rocket deviated off track and burst 37 seconds into the flight, the launch was going smoothly. ๐—” ๐˜€๐—ผ๐—ณ๐˜๐˜„๐—ฎ๐—ฟ๐—ฒ ๐—ณ๐—น๐—ฎ๐˜„ ๐—ถ๐—ป ๐˜๐—ต๐—ฒ ๐—ด๐˜‚๐—ถ๐—ฑ๐—ฎ๐—ป๐—ฐ๐—ฒ ๐˜€๐˜†๐˜€๐˜๐—ฒ๐—บ, which was in charge of regulating the rocket's course, was found to be the root of the disaster. The Ariane 5 launch is acknowledged as one of the most expensive software failures in history. The destruction of the scientific satellites delayed scientific research into the workings of the Earth's magnetosphere for almost 4 years. ๐—ช๐—ต๐—ฎ๐˜ ๐˜„๐—ฎ๐˜€ ๐˜๐—ต๐—ฒ ๐—ฐ๐—ฎ๐˜‚๐˜€๐—ฒ? A dead part of code from the last Ariane 4 mission, which began almost ten years prior, contained a simple and fixable programming error. The rocket used a method known as the ๐—ต๐—ผ๐—ฟ๐—ถ๐˜‡๐—ผ๐—ป๐˜๐—ฎ๐—น ๐—ฏ๐—ถ๐—ฎ๐˜€, sometimes known as the BH value, to identify whether it was pointing up or down. This was represented using a 64-bit floating-point variable, which the guidance system used to convert to 16 16-bit signed integers. A 64-bit variable can represent billions of values, while a 16-bit can represent only 65,535 values. We know that integers are represented with the first bit used to store signs, and 16-bit integers can then be from -32,768 to 32,767. Yet, floating-point numbers are made to track a broader range of numbers, using the same numbers of bits between -1.8e+308 and -2.2e-308. If you try to store one into a 16-bit integer, it will be much out of the bound of a signed integer. So, what happened is a well-known ๐—ถ๐—ป๐˜๐—ฒ๐—ด๐—ฒ๐—ฟ ๐—ผ๐˜ƒ๐—ฒ๐—ฟ๐—ณ๐—น๐—ผ๐˜„. One more contributing factor to the disaster was user requirements that Ariane 5 use a much steeper trajectory than previous ones, which resulted in a more incredible vertical velocity. What are some takeaways from the disaster? ๐—ฎ ๐—ฐ๐—ผ๐—ฝ๐˜†-๐—ฝ๐—ฎ๐˜€๐˜๐—ถ๐—ป๐—ด ๐—ฐ๐—ผ๐—ฑ๐—ฒ ๐˜„๐—ถ๐˜๐—ต๐—ผ๐˜‚๐˜ ๐˜‚๐—ป๐—ฑ๐—ฒ๐—ฟ๐˜€๐˜๐—ฎ๐—ป๐—ฑ๐—ถ๐—ป๐—ด ๐—ถ๐˜ (Cargo-cult) is a significant issue. Another is the omission of proper exception handling, neglecting changed user requirements, and the absence of appropriate tests. #technology #softwareengineering #programming #techworldwithmilan #softwaredesign
6
28
2
127
36,750
๐—•๐˜‚๐—ถ๐—น๐—ฑ๐—ถ๐—ป๐—ด ๐—ฅ๐—ฒ๐˜€๐—ถ๐—น๐—ถ๐—ฒ๐—ป๐˜ ๐—ฃ๐—ฎ๐˜†๐—บ๐—ฒ๐—ป๐˜ ๐—ฆ๐˜†๐˜€๐˜๐—ฒ๐—บ๐˜€ The recent article by Shopify Engineering explained the top 10 most useful tips and tricks for building resilient payment systems. Here is the list: ๐Ÿญ. ๐—Ÿ๐—ผ๐˜„๐—ฒ๐—ฟ ๐—ฌ๐—ผ๐˜‚๐—ฟ ๐—ง๐—ถ๐—บ๐—ฒ๐—ผ๐˜‚๐˜๐˜€: They suggests investigating and setting low timeouts everywhere possible. For instance, Ruby's built-in Net::HTTP client has a default timeout of 60 seconds to open a connection, write data, and read a response. This is too long for online applications where a user is waiting. The author suggests an open timeout of one second with a write and read or query timeout of five seconds as a starting point. ๐Ÿฎ. ๐—œ๐—ป๐˜€๐˜๐—ฎ๐—น๐—น ๐—–๐—ถ๐—ฟ๐—ฐ๐˜‚๐—ถ๐˜ ๐—•๐—ฟ๐—ฒ๐—ฎ๐—ธ๐—ฒ๐—ฟ๐˜€: Circuit breakers, like Shopify's Semian, protect services by raising an exception once a service is detected as being down. This saves resources by not waiting for another timeout. Semian protects Net::HTTP, MySQL, Redis, and gRPC services with a circuit breaker in Ruby. ๐Ÿฏ. ๐—จ๐—ป๐—ฑ๐—ฒ๐—ฟ๐˜€๐˜๐—ฎ๐—ป๐—ฑ ๐—–๐—ฎ๐—ฝ๐—ฎ๐—ฐ๐—ถ๐˜๐˜†: The author discusses Little's Law, which states that the average number of customers in a system equals their average arrival rate, multiplied by their average time. Understanding this relationship between queue size, throughput, and latency can help design systems that can handle load efficiently. ๐Ÿฐ. ๐—”๐—ฑ๐—ฑ ๐— ๐—ผ๐—ป๐—ถ๐˜๐—ผ๐—ฟ๐—ถ๐—ป๐—ด ๐—ฎ๐—ป๐—ฑ ๐—”๐—น๐—ฒ๐—ฟ๐˜๐—ถ๐—ป๐—ด: Google's site reliability engineering (SRE) book lists four golden signals a user-facing system should be monitored for latency, traffic, errors, and saturation. Monitoring these metrics can help identify when a system is at risk of going down due to overload. ๐Ÿฑ. ๐—œ๐—บ๐—ฝ๐—น๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ฆ๐˜๐—ฟ๐˜‚๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ๐—ฑ ๐—Ÿ๐—ผ๐—ด๐—ด๐—ถ๐—ป๐—ด: They recommends using structured logging in a machine-readable format, like key=value pairs or JSON, which allows log aggregation systems to parse and index the data. In distributed systems, passing along a correlation identifier to understand what happened inside a single web request or background job is useful. ๐Ÿฒ. ๐—จ๐˜€๐—ฒ ๐—œ๐—ฑ๐—ฒ๐—บ๐—ฝ๐—ผ๐˜๐—ฒ๐—ป๐—ฐ๐˜† ๐—ž๐—ฒ๐˜†๐˜€: To ensure payment or refund happens exactly once, they recommends using Idempotency keys, which track attempts and provide only a single request is sent to financial partners. This can be achieved by sending a unique idempotency key for each shot. ๐Ÿณ. ๐—•๐—ฒ ๐—–๐—ผ๐—ป๐˜€๐—ถ๐˜€๐˜๐—ฒ๐—ป๐˜ ๐—ช๐—ถ๐˜๐—ต ๐—ฅ๐—ฒ๐—ฐ๐—ผ๐—ป๐—ฐ๐—ถ๐—น๐—ถ๐—ฎ๐˜๐—ถ๐—ผ๐—ป: Reconciliation ensures that records are consistent with those of financial partners. Any discrepancies are recorded and automatically remediated where possible. This process helps maintain accurate records for tax purposes and generate accurate reports for merchants. ๐Ÿด. ๐—œ๐—ป๐—ฐ๐—ผ๐—ฟ๐—ฝ๐—ผ๐—ฟ๐—ฎ๐˜๐—ฒ ๐—Ÿ๐—ผ๐—ฎ๐—ฑ ๐—ง๐—ฒ๐˜€๐˜๐—ถ๐—ป๐—ด: Regular load testing helps test systems' limits and protection mechanisms by simulating large-volume flash sales. Shopify uses scriptable load balancers to throttle the number of checkouts happening at any time. ๐Ÿต. ๐—š๐—ฒ๐˜ ๐—ผ๐—ป ๐—ง๐—ผ๐—ฝ ๐—ผ๐—ณ ๐—œ๐—ป๐—ฐ๐—ถ๐—ฑ๐—ฒ๐—ป๐˜ ๐— ๐—ฎ๐—ป๐—ฎ๐—ด๐—ฒ๐—บ๐—ฒ๐—ป๐˜: Shopify uses a Slack bot to manage incidents, with roles for coordinating the incident, public communication, and restoring stability. This process starts when the on-call service owners get paged, either by an automatic alert based on monitoring or by hand, if someone notices a problem. ๐Ÿญ๐Ÿฌ. ๐—ข๐—ฟ๐—ด๐—ฎ๐—ป๐—ถ๐˜‡๐—ฒ ๐—œ๐—ป๐—ฐ๐—ถ๐—ฑ๐—ฒ๐—ป๐˜ ๐—ฅ๐—ฒ๐˜๐—ฟ๐—ผ๐˜€๐—ฝ๐—ฒ๐—ฐ๐˜๐—ถ๐˜ƒ๐—ฒ๐˜€: Retrospective meetings are held within a week after an incident to understand what happened, correct incorrect assumptions, and prevent the same thing from happening again. This is a crucial step in learning from failures and improving system resilience. Check the full text in the comments. #technology #softwareengineering #programming #techworldwithmilan #distributedsystems
6
103
2
516
96,472
Have you ever wondered why some cities are just so much nicer than others? Well, it's probably because they have good "Third Places." What is a Third Place? It's wherever you go when you're not at home or at work...
491
5,846
928
39,145
8,435,158
Shopify deleted 12,000 meetings this year. Today, they went a step further with a tool that shows the $$$ cost of holding meetings. I spoke to @nejatian (Shopify's COO) about meeting bloat and protecting craft time. Here are 6 spicy takes from our interview ๐Ÿ‘‡
263
1,339
521
10,127
4,473,231
Dan Murphy retweeted
10 principles for building resilient payment systems (by Shopify). Shopify has some precious tips for building resilient payment systems. 1. Lower the timeouts, and let the service fail early The default timeout is 60 seconds. Based on Shopifyโ€™s experiences, read timeout of 5 seconds and write timeout of 1 second are decent setups. 2. Install circuit breaks Shopify developed Semian to protect Net::HTTP, MySQL, Redis, and gRPC services with a circuit breaker in Ruby. 3. Capacity management If we have 50 requests arrive in our queue and it takes an average of 100 milliseconds to process a request, our throughput is 500 requests per second. 4. Add monitoring and alerting Googleโ€™s site reliability engineering (SRE) book lists four golden signals a user-facing system should be monitored for: latency, traffic, errors, and saturation. 5. Implement structured logging We store logs in a centralized place and make them easily searchable. 6. Use idempotency keys Use Universally Unique Lexicographically Sortable Identifier (ULID) for these idempotency keys instead of a random version 4 UUID. 7. Be consistent with reconciliation Store the reconciliation breaks with Shopifyโ€™s financial partners in the database. 8. Incorporate load testing Shopify regularly simulates the large volume flash sales to get the benchmark results. 9. Get on top of incident management Each incident channel has 3 roles: Incident Manager on Call (IMOC), Support Response Manager (SRM), and service owners. 10. Organize incident retrospectives For each incident, 3 questions are asked at Shopify: What exactly happened? What incorrect assumptions did we hold about our systems? What we can do to prevent this from happening? โ€“ Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/42Ex9oZ
12
142
2
722
124,585
Dan Murphy retweeted
Curious about emerging architectures for LLM applications? @BornsteinMatt and @rajko_rad on their current view of the LLM app stack and much more: a16z.com/2023/06/20/emergingโ€ฆ
1
14
2
58
16,880
Meriden's Little Rendezvous RAN OUT OF PIZZA after Barstool Sports' founder Dave Portnoy gave their pie the second highest "ONE BITE" rating (9.1 out of 10) of a CT pizza joint! Thanks to @WFSBnews for delivering us a slice of the story! #thatsamore wfsb.com/2023/06/15/businessโ€ฆ
5
18
9
145
23,788
Dan Murphy retweeted
Netflix's Overall Architecture. This post is based on research from many Netflix engineering blogs and open-source projects. If you come across any inaccuracies, please feel free to inform us. Mobile and web: Netflix has adopted Swift and Kotlin to build native mobile apps. For its web application, it uses React. Frontend/server communication: GraphQL. Backend services: Netflix relies on ZUUL, Eureka, the Spring Boot framework, and other technologies. Databases: Netflix utilizes EV cache, Cassandra, CockroachDB, and other databases. Messaging/streaming: Netflix employs Apache Kafka and Fink for messaging and streaming purposes. Video storage: Netflix uses S3 and Open Connect for video storage. Data processing: Netflix utilizes Flink and Spark for data processing, which is then visualized using Tableau. Redshift is used for processing structured data warehouse information. CI/CD: Netflix employs various tools such as JIRA, Confluence, PagerDuty, Jenkins, Gradle, Chaos Monkey, Spinnaker, Altas, and more for CI/CD processes. โ€“ Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/42Ex9oZ
40
676
26
3,442
393,316
UConn names @Chris_Grosse Senior Associate Athletic Director for External Strategy.

32
15
30
304
290,575
Ray Allen with his fellow UConn graduates under his retired jersey is an iconic photo ๐Ÿ’™ (via @NutmegNews)
6
28
5
186
17,004
Dan Murphy retweeted
2๏ธโƒฃ NCAA titles in one week ๐Ÿ† Connecticut, how you feeling? ๐Ÿคฉ
90
814
100
8,703
2,052,683
The Digitalisation of the Desk:
393
5,540
883
41,034
5,271,523