Software Engineer, Node
Software engineeringPosted 10 days agofrom Matter Labs's own hiring page
- Work type
- RemoteIn the US
- Experience
- Not stated
- Pay
- $150k–187k a year
- Posted
- 10 days ago
Skills it mentions
Add your skills to see which ones you have.
About the job
About Matter Labs
Matter Labs builds infrastructure for financial sovereignty. We pioneered zero-knowledge rollups on Ethereum and developed the Prividium platform to help financial institutions build and operate digital asset businesses with privacy and control.
The platform’s adoption spans global finance, from DTCC, a cornerstone of securities markets, to Cari’s network of 30 banks representing $10 trillion in combined assets.
We’re a remote, global team tackling hard problems in cryptography and finance. Expect autonomy, high standards and access to the best AI tools. Your work will help shape how financial institutions move and manage money.
The role
You join the Platform team, which designs and builds the ZKsync OS node. You own one or more of its core systems end to end: peer-to-peer networking, consensus, RPC, the sequencer or storage, depending on where your depth is. We are looking first for depth in consensus or peer-to-peer networking, and next in high-performance storage. You also bring new protocol features into the node, such as cross-chain interoperability and new zero-knowledge provers.
The Production Unit runs the node for customers, and the Platform team makes sure what it runs is correct. The role has no customer-facing work. When an incident touches a system you own, the Production Unit can pull you in during your working hours.
What you will do:
Own core node systems. Design, build and maintain one or more of networking, consensus, RPC, sequencing or storage, and decide how they evolve.
Integrate new protocol features. Bring features such as interoperability and new provers into the node without breaking existing behaviour or the upgrade path.
Design bugs out. Use the type system, architecture, property-based testing and fuzzing so whole classes of bugs never reach production.
Hold the review bar. Review your colleagues' code as carefully as you write your own, and expect the same from them.
Use AI with judgment. Use the best AI tools to move faster, and understand every line you merge, whoever or whatever wrote it.
Within a year, you own one or two of the node's core systems, and features land in them without regressions.
What we look for
You have designed and built a core component of a distributed system, blockchain node or database: networking, consensus, storage, an RPC layer or similar.
You write strong systems code in Rust, C++, Go or a comparable language. Our node is written in Rust, and Rust is learnable here.
You use types and architecture to make invalid states unrepresentable, and you have used property-based testing or fuzzing on real code.
Your code reviews find real problems, and you can explain every line you ship.
You can take a protocol change from specification to a running system without breaking what already works.
Nice to have: Ethereum execution or consensus client internals; RocksDB or another high-performance storage engine; zero-knowledge provers; libp2p or a comparable networking stack; open-source systems work we can read.
If you meet most of this and the rest is learnable, apply anyway.
Compensation and work model
Base salary range: USD 150,000 to 187,000 per year. Where an offer lands in the range depends on demonstrated scope and results against the bar described above. The same range applies wherever you are based.
Performance-based variable compensation and a long-term token incentive are additional.
Benefits (employees): medical, dental and vision from day one, global health cover for team members outside the US; 401(k) with a Safe Harbor match up to 4 percent for eligible US employees, flexible paid time off plus public holidays and two company closure weeks a year; six weeks paid parental bonding leave plus up to ten weeks paid birth recovery leave; confidential mental health support; a USD 2,000 home office stipend, a company laptop refreshed every three years, up to USD 400 a month toward coworking, and a USD 500 annual learning budget; company and team offsites.
Fully remote, from any country where we can hire. Your working hours overlap with European or US time zones. Time zones close to Europe fit the team best.
Full-time, as an employee or a contractor.
Interested?Software Engineer, Node at Matter Labs
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Networking, Rust, C++ and 1 more
Interview questions for this job
For the skills the ad mentions: Networking, Rust, C++ and Go.
What's the difference between IKE and ISAKMP?Networking
ISAKMP is part of IKE. (IKE has ISAKMP, SKEME and OAKLEY). IKE establishs the shared security policy and authenticated keys. ISAKMP is the protocol that specifies the mechanics of the key exchange.
The confusion, (for me,) is that in the Cisco IOS ISAKMP/IKE are used to refer to the same thing. By which I mean, my understanding is that Cisco's IKE only implements/uses ISAKMP. So one configures IKE, and then conceptually inside that, one configures ISAKMP.
From Network Engineering Stack Exchange: asked by Jeremy Stretch, answered by Craig Constantine (CC BY-SA 3.0)
What is the difference between iter and into_iter?Rust
TL;DR:
- The iterator returned by
into_itermay yield any ofT,&Tor&mut T, depending on the context. - The iterator returned by
iterwill yield&T, by convention. - The iterator returned by
iter_mutwill yield&mut T, by convention.
The first question is: "What is
into_iter?"into_itercomes from theIntoIteratortrait:pub trait IntoIterator where <Self::IntoIter as Iterator>::Item == Self::Item, { type Item; type IntoIter: Iterator; fn into_iter(self) -> Self::IntoIter; }You implement this trait when you want to specify how a particular type is to be converted into an iterator. Most notably, if a type implements
IntoIteratorit can be used in aforloop.For example,
VecimplementsIntoIterator... thrice!impl<T> IntoIterator for Vec<T> impl<'a, T> IntoIterator for &'a Vec<T> impl<'a, T> IntoIterator for &'a mut Vec<T>Each variant is slightly different.
This one consumes the
Vecand its iterator yields values (Tdirectly):impl<T> IntoIterator for Vec<T> { type Item = T; type IntoIter = IntoIter<T>; fn into_iter(mut self) -> IntoIter<T> { /* ... */ } }The other two take the vector by reference (don't be fooled by the signature of
into_iter(self)becauseselfis a reference in both cases) and their iterators will produce references to the elements insideVec.This one yields immutable references:
impl<'a, T> IntoIterator for &'a Vec<T> { type Item = &'a T; type IntoIter = slice::Iter<'a, T>; fn into_iter(self) -> slice::Iter<'a, T> { /* ... */ } }While this one yields mutable references:
impl<'a, T> IntoIterator for &'a mut Vec<T> { type Item = &'a mut T; type IntoIter = slice::IterMut<'a, T>; fn into_iter(self) -> slice::IterMut<'a, T> { /* ... */ } }So:
What is the difference between
iterandinto_iter?into_iteris a generic method to obtain an iterator, whether this iterator yields values, immutable references or mutable references is context dependent and can sometimes be surprising.iteranditer_mutare inherent methods. Their return type is therefore independent of the context, and will conventionally be iterators yielding immutable references and mutable references, respectively.The author of the Rust by Example post used Rust pre-1.53.0 to illustrate the surprise coming from the dependence on the context (i.e., the type) on which
into_iteris called, and is also compounding the problem by using the fact that:- Back then,
IntoIteratorwas not implemented for[T; N], only for&[T; N]and&mut [T; N]. - When a method is not implemented for a value, it is automatically searched for references to that value instead
which is very surprising for
into_itersince all types (except[T; N]) implement it for all 3 variations (value and references).Read the rest at the sourceFrom Stack Overflow: asked by vitiral, answered by Matthieu M. (CC BY-SA 4.0)
- The iterator returned by
Why are elementwise additions much faster in separate loops than in a combined loop?C++
Upon further analysis of this, I believe this is (at least partially) caused by the data alignment of the four-pointers. This will cause some level of cache bank/way conflicts.
If I've guessed correctly on how you are allocating your arrays, they are likely to be aligned to the page line.
This means that all your accesses in each loop will fall on the same cache way. However, Intel processors have had 8-way L1 cache associativity for a while. But in reality, the performance isn't completely uniform. Accessing 4-ways is still slower than say 2-ways.
EDIT: It does in fact look like you are allocating all the arrays separately. Usually when such large allocations are requested, the allocator will request fresh pages from the OS. Therefore, there is a high chance that large allocations will appear at the same offset from a page-boundary.
Here's the test code:
int main(){ const int n = 100000; #ifdef ALLOCATE_SEPERATE double *a1 = (double*)malloc(n * sizeof(double)); double *b1 = (double*)malloc(n * sizeof(double)); double *c1 = (double*)malloc(n * sizeof(double)); double *d1 = (double*)malloc(n * sizeof(double)); #else double *a1 = (double*)malloc(n * sizeof(double) * 4); double *b1 = a1 + n; double *c1 = b1 + n; double *d1 = c1 + n; #endif // Zero the data to prevent any chance of denormals. memset(a1,0,n * sizeof(double)); memset(b1,0,n * sizeof(double)); memset(c1,0,n * sizeof(double)); memset(d1,0,n * sizeof(double)); // Print the addresses cout << a1 << endl; cout << b1 << endl; cout << c1 << endl; cout << d1 << endl; clock_t start = clock(); int c = 0; while (c++ < 10000){ #if ONE_LOOP for(int j=0;j<n;j++){ a1[j] += b1[j]; c1[j] += d1[j]; } #else for(int j=0;j<n;j++){ a1[j] += b1[j]; } for(int j=0;j<n;j++){ c1[j] += d1[j]; } #endif } clock_t end = clock(); cout << "seconds = " << (double)(end - start) / CLOCKS_PER_SEC << endl; system("pause"); return 0; }Benchmark Results:
EDIT: Results on an actual Core 2 architecture machine:
2 x Intel Xeon X5482 Harpertown @ 3.2 GHz:
#define ALLOCATE_SEPERATE #define ONE_LOOP 00600020 006D0020 007A0020 00870020 seconds = 6.206 #define ALLOCATE_SEPERATE //#define ONE_LOOP 005E0020 006B0020 00780020 00850020 seconds = 2.116 //#define ALLOCATE_SEPERATE #define ONE_LOOP 00570020 00633520 006F6A20 007B9F20 seconds = 1.894 //#define ALLOCATE_SEPERATE //#define ONE_LOOP 008C0020 00983520 00A46A20 00B09F20 seconds = 1.993Observations:
6.206 seconds with one loop and 2.116 seconds with two loops. This reproduces the OP's results exactly.
In the first two tests, the arrays are allocated separately. You'll notice that they all have the same alignment relative to the page.
In the second two tests, the arrays are packed together to break that alignment. Here you'll notice both loops are faster. Furthermore, the second (double) loop is now the slower one as you would normally expect.
As @Stephen Cannon points out in the comments, there is a very likely possibility that this alignment causes false aliasing in the load/store units or the cache. I Googled around for this and found that Intel actually has a hardware counter for partial address aliasing stalls:
5 Regions - Explanations
Region 1:
This one is easy. The dataset is so small that the performance is dominated by overhead like looping and branching.
Region 2:
Read the rest at the sourceFrom Stack Overflow: asked by Johannes Gerer, answered by Mysticial (CC BY-SA 4.0)
Is Go an object-oriented language?Go
Yes and no. Although Go has types and methods and allows an object-oriented style of programming, there is no type hierarchy. The concept of "interface" in Go provides a different approach that we believe is easy to use and in some ways more general. There are also ways to embed types in other types to provide something analogous—but not identical—to subclassing. Moreover, methods in Go are more general than in C++ or Java: they can be defined for any sort of data, even built-in types such as plain, "unboxed" integers. They are not restricted to structs (classes).
Also, the lack of a type hierarchy makes "objects" in Go feel much more lightweight than in languages such as C++ or Java.
From Go Frequently Asked Questions (CC BY 4.0)
What are some common HTTP status codes?NetworkingBasic
- 1xx - Informational responses - communicates transfer protocol-level information
- 2xx - Success - indicates that the client’s request was accepted successfully
- 3xx - Redirection - indicates that the client must take some additional action in order to complete their request
- 4xx - Client side error - this category of error status codes points the finger at clients
- 5xx - Server side error - the server takes responsibility for these error status codes
Useful resources:
From Test your Sysadmin Skills (MIT)
Why do you think you're a good fit for our company?Behavioural
Employers want to see that you have a genuine interest in working for them by asking questions like:
- what do you know about our company?
- why do you think you're a good fit for our company?
- why do you want to work for us?
To prepare for questions about the employer, you need to research the company. You should look at their website and 'about us' pages to find out more about their products, services and values.
Show what you've learned about the company throughout the interview.From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Remote Part-Time PowerBuilder DeveloperTEKsystems, Pierre, on-siteToday
- Member of Technical StaffClera, San Francisco Bay Area, on-siteToday
- Content DeveloperCentralReach, Remote in the USToday
- Senior Engineer, Presource Transformation Commercial SolutionsCardinal Health, Remote in the USToday
More like this: Software engineer jobs in the USA (1,765) and Remote Software engineer jobs in the USA (709)



