IMC Group97 open jobs

Software Engineer (Java) - Global Research Platform

BackendPosted over 2 months agofrom IMC Group's own hiring page

Work type
On-siteMumbai
Experience
3+ years
Pay
Not listedUsually ₹6.2 LPABackend, median at 1–4 years, in India (Payscale)
Posted
Over 2 months agoOpen 2 months
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on Java, Kubernetes, Python and 8 more

About the job

We are seeking a driven Java engineer to join our global research platform team in Mumbai. The team builds and operates the compute and data platform that powers all of IMC's quantitative research: a large-scale Kubernetes-based research cluster, a distributed job scheduling platform used by every trading and research team, and the market-data and dataset services that feed research on it. Mumbai runs one of the platform's regional production deployments, and you'll collaborate closely with platform colleagues in Amsterdam, Chicago and Sydney. 

Your Core Responsibilities: 

  • Design, build and operate the Java backend of our distributed job scheduling platform: the job controller and state machine, scheduling integrations, resource and cost tracking, and the failure-recovery machinery that keeps research workloads running at scale
  • Develop gRPC/protobuf APIs consumed by Python, Java and C++ clients across the firm
  • Build event-driven services on Kafka for job lifecycle tracking, data lineage, and dataset orchestration
  • Work hands-on with Kubernetes at scale: pod scheduling, fair-share queueing, preemption and multi-cluster placement
  • Instrument, monitor and firefight production systems, and drive root-cause analysis of performance bottlenecks
  • Support and consult research users in the India office

 

Your Skills and Experience: 

  • 3+ years of professional Java development experience (Java 17+, Maven/Gradle, strong grasp of concurrency and JVM performance)
  • 2+ year of hands-on experience with Kubernetes and Docker (building on the K8s API is a strong plus)
  • Comfortable developing in Python; our client libraries and research users are Python-first, and you'll work on both sides of the API
  • Solid understanding of distributed systems fundamentals: state machines, retries/idempotency, event-driven architectures, consistency trade-offs
  • Experience with workload scheduling or batch/compute orchestration systems (e.g. Kubernetes schedulers, Slurm, YARN, Kueue, Ray, Airflow)
  • Experience with messaging/streaming systems such as Kafka
  • Working knowledge of NoSQL and time-series/SQL databases (e.g. MongoDB, PostgreSQL)
  • Experience with gRPC/protobuf or similar RPC frameworks is a plus
  • Strong Linux fundamentals and scripting (bash, Python)
  • Experience with monitoring stacks (Prometheus, Grafana, alerting) and comfort operating what you build
  • Demonstrated ability to troubleshoot across the stack from application code through Kubernetes to network and storage
  • Exposure to object storage (S3) or high-performance data formats (Parquet, Iceberg)

About Us

IMC is a research-driven trading firm where quantitative modeling, machine learning, and engineering shape how modern markets are traded. A stabilizing force in markets since 1989, we provide liquidity across trading venues, delivering the best outcome in value and risk management to investors. Using our own technology and capital, we build proprietary systems and algorithms that operate across global markets. Our researchers, traders, and engineers work as a collective, combining rapid experimentation, advanced infrastructure, and real-time feedback to turn insight into execution and execution into advantage.

Interested?Software Engineer (Java) - Global Research Platform at IMC Group

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Java, Kubernetes, Python and 8 more

Interview questions for this job

For the skills the ad mentions: Java, Kubernetes, Python, Kafka, C++, Docker, SQL, MongoDB, PostgreSQL, Linux and Shell scripting.

1,122 questions
  • Why is char[] preferred over String for passwords?Java

    Strings are immutable. That means once you've created the String, if another process can dump memory, there's no way (aside from reflection) you can get rid of the data before garbage collection kicks in.

    With an array, you can explicitly wipe the data after you're done with it. You can overwrite the array with anything you like, and the password won't be present anywhere in the system, even before garbage collection.

    So yes, this is a security concern - but even using char[] only reduces the window of opportunity for an attacker, and it's only for this specific type of attack.

    As noted in the comments, it's possible that arrays being moved by the garbage collector will leave stray copies of the data in memory. I believe this is implementation-specific - the garbage collector may clear all memory as it goes, to avoid this sort of thing. Even if it does, there's still the time during which the char[] contains the actual characters as an attack window.

    From Stack Overflow: asked by Ahamed, answered by Jon Skeet (CC BY-SA 4.0)

  • What's the best way to share/mount one file into a pod?Kubernetes

    For example you have a configmap which contain 2 config files:

    kubectl create configmap config --from-file <file1> --from-file <file2>
    

    You could use subPath like this to mount single file into existing directory:

    ---
            volumeMounts:
            - name: "config"
              mountPath: "/<existing folder>/<file1>"
              subPath: "<file1>"
            - name: "config"
              mountPath: "/<existing folder>/<file2>"
              subPath: "<file2>"
          restartPolicy: Always
          volumes:
            - name: "config"
              configMap:
                name: "config"
    ---
    

    Full example here

    From Stack Overflow: asked by Smana, answered by Tommy Nguyen (CC BY-SA 3.0)

  • What is the difference between @staticmethod and @classmethod in Python?Python

    Maybe a bit of example code will help: Notice the difference in the call signatures of foo, class_foo and static_foo:

    class A(object):
        def foo(self, x):
            print(f"executing foo({self}, {x})")
        @classmethod
        def class_foo(cls, x):
            print(f"executing class_foo({cls}, {x})")
        @staticmethod
        def static_foo(x):
            print(f"executing static_foo({x})")
    a = A()
    

    Below is the usual way an object instance calls a method. The object instance, a, is implicitly passed as the first argument.

    a.foo(1)
    # executing foo(<__main__.A object at 0xb7dbef0c>, 1)
    

    With classmethods, the class of the object instance is implicitly passed as the first argument instead of self.

    a.class_foo(1)
    # executing class_foo(<class '__main__.A'>, 1)
    

    You can also call class_foo using the class. In fact, if you define something to be a classmethod, it is probably because you intend to call it from the class rather than from a class instance. A.foo(1) would have raised a TypeError, but A.class_foo(1) works just fine:

    A.class_foo(1)
    # executing class_foo(<class '__main__.A'>, 1)
    

    One use people have found for class methods is to create inheritable alternative constructors.

    With staticmethods, neither self (the object instance) nor cls (the class) is implicitly passed as the first argument. They behave like plain functions except that you can call them from an instance or the class:

    a.static_foo(1)
    # executing static_foo(1)
    A.static_foo('hi')
    # executing static_foo(hi)
    

    Staticmethods are used to group functions which have some logical connection with a class to the class.

    foo is just a function, but when you call a.foo you don't just get the function, you get a "partially applied" version of the function with the object instance a bound as the first argument to the function. foo expects 2 arguments, while a.foo only expects 1 argument.

    a is bound to foo. That is what is meant by the term "bound" below:

    print(a.foo)
    # <bound method A.foo of <__main__.A object at 0xb7d52f0c>>
    

    With a.class_foo, a is not bound to class_foo, rather the class A is bound to class_foo.

    print(a.class_foo)
    # <bound method type.class_foo of <class '__main__.A'>>
    

    Here, with a staticmethod, even though it is a method, a.static_foo just returns a good 'ole function with no arguments bound. static_foo expects 1 argument, and a.static_foo expects 1 argument too.

    print(a.static_foo)
    # <function static_foo at 0xb7d479cc>
    

    And of course the same thing happens when you call static_foo with the class A instead.

    print(A.static_foo)
    # <function static_foo at 0xb7d479cc>
    

    From Stack Overflow: asked by Daryl Spitzer, answered by unutbu (CC BY-SA 4.0)

  • Understanding Kafka Topics and PartitionsKafka

    This post already has answers, but I am adding my view with a few pictures from Kafka Definitive Guide

    Before answering the questions, let's look at an overview of producer components:

    1. When a producer is producing a message, it will specify the topic it wants to send the message to. Is that right? Does it care about partitions?

    The producer will decide target partition to place any message, depending on:

    • Partition id, if it's specified within the message
    • key % num partitions, if no partition id is mentioned
    • Round robin if neither partition id nor message key is available in the message means only the value is available
    1. When a subscriber is running - Does it specify its group id so that it can be part of a cluster of consumers of the same topic or several topics that this group of consumers is interested in?

    You should always configure group.id unless you are using the simple assignment API and you don’t need to store offsets in Kafka. It will not be a part of any group. Source.

    1. Does each consumer group have a corresponding partition on the broker or does each consumer have one?

    In one consumer group, each partition will be processed by one consumer only. These are the possible scenarios

    • If the number of consumers is less than the number of topic partitions, then multiple partitions can be assigned to one of the consumers in the group

    • If the number of consumers is the same as the number of topic partitions, then partition and consumer mapping can be like below,

    • If the number of consumers is higher than the number of topic partitions, then partition and consumer mapping can be as seen below, Not effective, check Consumer 5

    1. As the partitions created by the broker, therefore not a concern for the consumers?

    Consumer should be aware of the number of partitions, as was discussed in question 3.

    1. Since this is a queue with an offset for each partition, is it the consumer's responsibility to specify which messages it wants to read? Does it need to save its state?

    Kafka (to be specific Group Coordinator) takes care of the offset state by producing a message to an internal __consumer_offsets topic, this behavior can be configurable to manual as well by setting enable.auto.commit to false. In that case consumer.commitSync() and consumer.commitAsync() can help manage offset.

    More about Group Coordinator:

    1. It's one of the elected brokers in the cluster from Kafka server side.
    2. Consumers interact with the Group Coordinator for offset commits and fetch requests.
    3. Consumer sends periodic heartbeats to Group Coordinator.
    1. What happens when a message is deleted from the queue? - For example, The retention was for 3 hours, then the time passes, how is the offset being handled on both sides?

    If any consumer starts after the retention period, messages will be consumed as per auto.offset.reset configuration which could be latest/earliest. Technically, it's latest (start processing new messages), because all the messages got expired by that time and retention is a topic-level configuration.

    more details here: https://mrsrinivas.github.io/posts/kafka-topics-and-partitions-explained/

    From Stack Overflow: asked by Pinidbest, answered by mrsrinivas (CC BY-SA 4.0)

  • 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.993
    

    Observations:

    • 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:

    http://software.intel.com/sites/products/documentation/doclib/stdxe/2013/~amplifierxe/pmw_dp/events/partial_address_alias.html

    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)

  • Do you have any weaknesses?Behavioural

    You should be honest when answering questions on your weaknesses. Say how you're working to improve them.

    Example

    Question - "Do you have any weaknesses?"

    Answer - "I struggle with time management on projects. To make sure I stick to the time frame I'm creating a timetable of steps at the start of each project".

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Backend developer jobs in Mumbai (36), Jobs in Mumbai (2,954) and Backend developer jobs in India (880)