Agnis Āriņš, Algorithms Developer in Riga, Latvia
Agnis Āriņš

Algorithms Developer in Riga, Latvia

Member since February 22, 2019
Agnis is an experienced software engineer with a demonstrated history of working in both the academic and industry sectors. He's an expert problem solver specializing in algorithms and mathematics. Agnis joined Toptal to share those skills on projects that involve complex and challenging tasks.
Agnis is now available for hire




Riga, Latvia



Preferred Environment

Linux, MySQL, C++, PHP

The most amazing...

...thing I've developed is an online learning platform spinning up VMs on the fly in a private cloud for students to take tests and be graded.


  • Researcher

    2014 - PRESENT
    University of Latvia
    • Researched new efficient quantum algorithms that involved heavy maths.
    • Supervised student projects.
    • Worked as a teaching assistant in the following courses: Graph Theory, Computational Complexity, Applied Algorithms, and Quantum Computing courses.
    • Conducted numerical experiments.
    • Participated in scientific conferences.
    Technologies: TensorFlow, C++, Python, MATLAB
  • Freelancer Web Developer

    2019 - 2019
    Client (via Toptal)
    • Refactored an existing lead management system written in Laravel, React, and Mithril.
    • Used Mailgun for routing incoming emails.
    • Implemented real-time events using Node.js and Redis.
    • Used the Google Geolocation and Distance API.
    • Handled the SEO on a WordPress landing page.
    Technologies: WordPress, Payment Processing, Mailgun, Google APIs, Mithril.js, Node.js, React, Laravel, PHP
  • Freelancer Web Developer

    2019 - 2019
    Client (via Toptal)
    • Created a REST API for a large dating site.
    • Coded the back end for in-app purchases and push notifications.
    • Improved the existing site speed at least 5x.
    • Worked with third-party APIs.
    • Rewrote the messaging service in Redis/Node.js.
    • Implemented the PSD2 changes for the Chargebee integration.
    • Integrated the JWT authentication to work alongside with the password authentication.
    Technologies: Amazon Web Services (AWS), Google Pay, Apple Pay, Chargebee, Mixpanel, ChartMogul, Stripe, Redis, Node.js, Symfony, PHP
  • Developer

    2019 - 2019
    Jack P Calvetti, LLC (via Toptal)
    • Converted existing MATLAB code to C++, gaining a 1000x performance boost.
    • Vectorized the code and took advantage of the microprocessor AVX instruction set.
    • Split the work across multiple threads to use all available CPU cores in parallel.
    • Wrote Visual Basic code in Excel to export input data for the program.
    • Profiled the code to find performance bottlenecks.
    Technologies: Visual Basic, Microsoft Excel, C++, MATLAB
  • Senior Web Developer

    2012 - 2018
    • Created web-based solutions while writing back-end and front-end programming with a focus on the back-end.
    • Led a small team of developers.
    • Configured web servers and optimized code performance issues.
    • Worked with all kinds of third-party APIs.
    • Met with clients, identified their needs, and offered solutions.
    • Set up a private Git server with custom permissions and hooks for internal use.
    Technologies: Bootstrap, Sass, REST, CSS, HTML5, Angular, React, JavaScript, MongoDB, MySQL, Yii 2, PHP, Linux
  • Senior Software Developer

    2007 - 2018
    • Led a team of junior developers and interns.
    • Consulted on optimal configuration and architecture of the client systems to meet technical and business goals.
    • Developed an online learning platform for MikroTik network training courses.
    • Built a platform for monitoring a network of electric charging stations.
    • Created a type of software as a service (SaaS) for tracking a worker's time in rural construction projects with mobile app check-ins that are allowed only in specified areas of the map.
    • Developed a CRM and connected it with EWS.
    • Constructed a platform for controlling internet connections on a fleet of long-distance coaches.
    • Used PHP to read Excel files exported from old accounting software and built a web dashboard for further data analysis.
    • Maintained old codebases for clients.
    • Created lotteries using the Phaser JS library for animations.
    • Optimized WordPress websites for speed.
    • Developed a web-based admin interface for a Postfix mail server.
    Technologies: Postfix, WordPress, REST, iOS, Android, Bash, Windows, PHP, MySQL, Apache, Linux
  • C++ Developer

    2012 - 2014
    • Worked on a client/server app for factory production line control (e.g., issuing device serial numbers) using C++, AngelScript, PostgreSQL, SQLite, RouterOS, and low-level network programming.
    • Created custom RouterOS modules.
    • Worked on a type of routerboard installation software.
    • Looked for memory leaks using Valgrind.
    • Wrote code for different types of architecture.
    Technologies: RouterOS, SQLite, PostgreSQL, AngelScript, C++


  • Real Estate Portal

    This is a real estate agency portal written in vanilla PHP and Ajax with automatic object data export to ad portals using third-party APIs.

  • eCommerce Site

    This is an eCommerce site using a self-made engine based on vanilla PHP with a front end that was built with elements from an Angular 2 JavaScript framework.

  • Responsive Version of a Travel Agency Portal

    I added a responsive version for an already existing travel agency portal. Basically, I reshaped an already existing, poorly written codebase to meet the project's goal.

  • Web-based Admin Interface for a Postfix Mail Server

    The user account credentials, spam filter rules, and configuration for email routing were stored in the MySQL database. It needed to easily create and disable mailboxes, have built-in rate limits and account auto-locking, and be able to block incoming email domains and IP addresses.


  • Languages

    PHP, C++, JavaScript, CSS, SQL, HTML5, AngelScript, Sass, Bash, Visual Basic, Python, TypeScript
  • Frameworks

    Angular, Yii 2, Bootstrap, Laravel, Symfony, Redux, Mithril.js, React Native, Kohana, FuelPHP, CakePHP, AngularJS, Express.js
  • Libraries/APIs

    jQuery, Google APIs, Standard Template Library (STL), React, Facebook API, Stripe, TensorFlow, Vue, Node.js
  • Tools

    Postfix, Git, MATLAB, Apache, Microsoft Excel
  • Paradigms

    REST, Object-oriented Programming (OOP), Agile
  • Platforms

    RouterOS, Linux, Windows, iOS, WordPress, Mixpanel, Mailgun, Amazon Web Services (AWS), Android, Exchange Web Services, Amazon EC2, Docker
  • Storage

    MySQL, Memcached, MongoDB, PostgreSQL, Redis, SQLite, SQL Server 2017, Azure Cloud Services, Amazon S3 (AWS S3)
  • Other

    Algorithms, Mathematics, Payment APIs, Networks, Artificial Intelligence (AI), ChartMogul, Chargebee, Apple Pay, Google Pay, Payment Processing


  • PhD (in Progress) Degree in Computer Science
    2013 - 2018
    University of Latvia - Riga, Latvia
  • Master's Degree in Computer Science
    2011 - 2013
    University of Latvia - Riga, Latvia
  • Bachelor's Degree in Computer Science
    2007 - 2011
    University of Latvia - Riga, Latvia


  • Codility Golden Award (Strontium 2019)
  • Advanced Linux: The Linux Kernel
  • Neural Networks and Deep Learning
  • MikroTik Certified Network Associate
    JULY 2012 - JULY 2015

To view more profiles

Join Toptal
Share it with others